package com.css.fxfzaqbz.modules.data.repository;

import com.css.fxfzaqbz.modules.assess1.entity.ReportHuiXianEntity;
import com.css.fxfzaqbz.modules.data.entity.ReportTemplateEntity;
import com.css.fxfzaqbz.modules.data.queryParams.ReportTemplateEntityQueryParams;
import com.css.fxfzaqbz.modules.data.vo.CheckReportVO;

import java.sql.Date;
import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

/**
 * @author y1fan
 * @create 2022-11-04 15:26
 */
public interface ReportTemplateRepository {


    Object saveReportTemplate(ReportTemplateEntity reportTemplateEntity);

    Map<String, Object> getAllReportTemplate(ReportTemplateEntityQueryParams reportTemplateEntityQueryParams);

    void delReportTemplate(List<String> ids, String userID, Timestamp currentSqlDate);

    List<ReportTemplateEntity> getList(String trType);

    Boolean checkReportTemplate(CheckReportVO checkReportVO);

    ReportTemplateEntity getReportTemplateById(String id);

    void updateReportId(String id, String attachId, String attachName);

    ReportHuiXianEntity insertReportHuiXian(String iaId, String attachId, String attachName, String number);

    List<ReportHuiXianEntity> getReportHuiXianByIaIdAndNumber(String iaId, String number);

    void updateReportHuiXian(String iaId, String attachId, String attachName, String number);
}
